home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Run Magazine ReRun 1989 January & February
/
rerun-1989-01-02.d64
/
ram expander 64
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
1KB
|
40 lines
10 print"[147]installing code...":gosub30000
20 print"[147]c-64 ram expander controller"
30 print"use a sys [146] command as follows:"
40 print"sys 820,a,b,c,d,e[146]
50 [153]"where:"
60 [153]"a = computer starting address
70 print"b = computer ending address plus one"
80 print"c = ram expander start address"
90 print"d = ram expander bank number"
95 print"e = command: 0 = computer to r.e."
96 print" 1 = r.e. to computer"
97 print" 2 = swap r.e. & computer"
98 end
30000 i=820:rem c-64 ram expander ml routine
30010 read a:if a=256 then return
30020 poke i,a:i=i+1:goto 30010
30030 data 32,253,174,32,218,3,140,225
30040 data 3,141,226,3,32,253,174,32
30050 data 218,3,140,227,3,141,228,3
30060 data 32,253,174,32,218,3,140,231
30070 data 3,141,232,3,32,198,3,32
30080 data 253,174,32,158,183,142,224,3
30090 data 32,253,174,32,158,183,138,41
30100 data 3,141,233,3,173,225,3,141
30110 data 2,223,173,226,3,141,3,223
30120 data 173,231,3,141,4,223,173,232
30130 data 3,141,5,223,173,224,3,41
30140 data 3,141,6,223,173,229,3,141
30150 data 7,223,173,230,3,141,8,223
30160 data 173,234,3,141,10,223,120,169
30170 data 127,141,13,221,173,233,3,9
30180 data 128,141,1,223,165,1,41,252
30190 data 133,1,141,0,255,165,1,9
30200 data 3,133,1,169,144,141,13,221
30210 data 88,96,56,173,227,3,237,225
30220 data 3,141,229,3,173,228,3,237
30230 data 226,3,141,230,3,96,32,138
30240 data 173,76,247,183,0,0,0,0
30250 data 0,0,0,0,0,0,0,256